package org.ljy.lotterysystem.service.dto;


import lombok.Data;

import java.util.List;

/**
 * 用于封装返回结果列表
 * @param <T>
 */

@Data
public class PageListDTO<T> {

    private Integer total;

    private List<T> data;


    public PageListDTO(Integer total, List<T> data) {
        this.total = total;
        this.data = data;
    }
}
